<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<body>
<h2>Hello ${user.username}!</h2>
<table border="1px" width="500px">
    <tr>
        <td>学号</td>
        <td>姓名</td>
        <td>年龄</td>
        <td>学科</td>
        <td>地址</td>
        <td>时间</td>
    </tr>
    <c:forEach var="students" items="${students}">
        <td>${students.id}</td>
        <td>${students.name}</td>
        <td>${students.age}</td>
        <td>${students.subject}</td>
        <td>${students.address}</td>
        <td>${students.studyDate}</td>
    </c:forEach>

</table>


</body>
</html>
